package com.apes.framework.util.statistics;

import com.apes.framework.util.DateUtil;
import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component("esIndexName")
public class EsIndexName {

    public EsIndexName() {
        this.indexName = DateUtil.format("yyyy.MM.dd");
    }

    private String indexName;
}
